package com.techstar.api.pojo.city;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.joda.time.DateTime;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.DateTimeDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 行政区拥堵路口
 * @date 2021年6月25日
 *
 */
@Getter
@Setter
@Entity
@ToString
@Table(name = "district_congest_junction")
@org.hibernate.annotations.Table(appliesTo = "district_congest_junction",comment="pord-1-行政区拥堵路口")
public class DistrictCongestJunction {
	@Id
	@Column(columnDefinition="varchar(100) COMMENT '拥堵路口标识'")
	private String junctionId;
	@Column(columnDefinition="varchar(100) COMMENT '拥堵路口名称'")
	private String junctionName;
	@Column(columnDefinition="varchar(100) COMMENT '拥堵路段所属行政区标识'")
	private String distId;
	@Column(columnDefinition="varchar(100) COMMENT '拥堵路段所属行政区名称'")
	private String distName;
	@Column(columnDefinition="varchar(100) COMMENT '拥堵路口的车均延误时长'")
	private String delayTime;
	@Column(columnDefinition="varchar(100) COMMENT '拥堵路口的车均停车次数'")
	private String stopCount;
	@Column(columnDefinition="varchar(100) COMMENT '拥堵路口的停车距离'")
	private String stopDistance;
	@JsonDeserialize(using = DateTimeDeserializer.class)
	@Column(columnDefinition="datetime(0) COMMENT '业务更新时间'")
	private DateTime createTime;


}
